import request from "@/utils/request/request";
import axios from "axios";

export function fileUpLoad(filePart, filename, chunkname, start) {
  return axios.post(`/web/upload/${filename}/${chunkname}/${start}`, filePart, {
    headers: { "Content-Type": "application/octet-stream" },
  });
}
export function mergeFile(filename, phone) {
  return request({
    url: `/merge/${filename}/${phone}`,
    method: "get",
  });
}
export function verifyFile(filename) {
  return request({
    url: `/verify/${filename}`,
    method: "get",
  });
}
